package com.yike.user.param;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 平台菜单
 *
 * @author Sakura
 * @since 2024-10-29
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "平台菜单参数")
public class PlatformMenuParam implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("菜单ID")
    private Long id;

    @ApiModelProperty("父ID")
    private Long parentId;

    @ApiModelProperty("状态")
    private Integer status;

    @ApiModelProperty("菜单类型")
    private String menuType;

    @ApiModelProperty("菜单名称")
    private String menuName;

    @ApiModelProperty("路由名称")
    private String routeName;

    @ApiModelProperty("路由路径")
    private String routePath;

    @ApiModelProperty("组件名称")
    private String component;

    @ApiModelProperty("排序")
    @TableField("order")
    private Integer order;

    @ApiModelProperty("国际化键")
    private String i18nKey;

    @ApiModelProperty("图标")
    private String icon;

    @ApiModelProperty("图标类型")
    private String iconType;

    @ApiModelProperty("隐藏菜单")
    private Boolean hideInMenu;

    @ApiModelProperty("常量路由")
    private Boolean constant;

    @ApiModelProperty("缓存路由")
    private Boolean keepAlive;

}
